www.gusucode.com > 溷沌分析工具箱 - OpenTSTOOL1.11 > 混沌分析工具箱 - OpenTSTOOL1.11\tstoolbox\@achse\samplerate.m

    function rate = samplerate(a)

%tstoolbox/@achse/samplerate
%   Syntax:
%     * rate = samplerate(a)
%
%   samplerate returns samplerate of achse object.
%
% Copyright 1997-2001 DPI Goettingen, License http://www.physik3.gwdg.de/tstool/gpl.txt

if a.delta > 0
	rate = 1/a.delta;
else
	rate = 0;
end